<?php
	$servername = "";
	$username = "enoxcoz1_jamguy"; 
	$password = "JamDodge123";
	$databaseName = "enoxcoz1_jamdodge";
	$point = "points";
	$connection;
	
	function connectToSQL()
	{
		global $servername, $username, $password, $connection;
		$connection = mysql_connect($servername,$username,$password);
		if (!$connection)
 		{
			//echo('DEBUG: Could not connect: ' . mysql_error() . '<br><br>');
 			die('DEBUG: Could not connect: ' . mysql_error(). '<br><br>');
 		}
		else
		{
			//echo 'DEBUG:    Successfully connected to the SQL Server <br><br>';
		}
	}

	function closeConnection()
	{
		global $connection;
		mysql_close($connection);
		//echo 'DEBUG:    Successfully closed connection to the SQL Server <br><br>';
	}
?>